package com.turing.post.common.util;

import java.math.BigInteger;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @服务表
 * @author zxp
 * @date 2012-12-14
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "SYSOPSAP")
public class SysOpSap implements java.io.Serializable {

	/**
	 * 代办事项
	 */
	public static final String isagency = "1";
	/**
	 * 不代办
	 */
	public static final String isNoagency = "0";
	/**
	 * 服务编号
	 */
	private BigInteger sapId;
	/**
	 * 服务名称
	 */
	private String sapName;
	/**
	 * 菜单编号
	 */
	private BigInteger menuId;
	/**
	 * 顺序号
	 */
	private BigInteger sapSeqNo;
	/**
	 * 服务路径
	 */
	private String sapUrl;

	private String isAgency;

	private String agency;

	public SysOpSap() {
		super();
	}

	@Id
	@Column(name = "SAPID")
	public BigInteger getSapId() {
		return sapId;
	}

	public void setSapId(BigInteger sapId) {
		this.sapId = sapId;
	}

	@Column(name = "SAPNAME")
	public String getSapName() {
		return sapName;
	}

	public void setSapName(String sapName) {
		this.sapName = sapName;
	}

	@Column(name = "MENUID")
	public BigInteger getMenuId() {
		return menuId;
	}

	public void setMenuId(BigInteger menuId) {
		this.menuId = menuId;
	}

	@Column(name = "SAPSEQNO")
	public BigInteger getSapSeqNo() {
		return sapSeqNo;
	}

	public void setSapSeqNo(BigInteger sapSeqNo) {
		this.sapSeqNo = sapSeqNo;
	}

	@Column(name = "SAPURL")
	public String getSapUrl() {
		return sapUrl;
	}

	public void setSapUrl(String sapUrl) {
		this.sapUrl = sapUrl;
	}

	@Column(name = "isAgency")
	public String getIsAgency() {
		return isAgency;
	}

	public void setIsAgency(String isAgency) {
		this.isAgency = isAgency;
	}

	@Column(name = "agency")
	public String getAgency() {
		return agency;
	}

	public void setAgency(String agency) {
		this.agency = agency;
	}
}